<?php
declare (strict_types = 1);

namespace app\index\controller;

use think\facade\db;
use think\facade\View;

class Info
{
    public function info()
    {
        return View::fetch();
    }
    public function adv()
    {
        $arr = Db::table("ecm_brand")
            ->field("brand_id,brand_name,brand_logo,sort_order,recommended,if_show")
            ->select();

        return View::fetch('',['arr'=>$arr]);
    }

    public function pass()
    {
        return View::fetch();
    }

}
